package com.kmxd.ams.client.arrange.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.kmxd.ams.infra.arrange.base.BaseBO;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件导出
 *
 * @author ZuoLG
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DataExportDTO extends BaseBO {

  /** 字段信息 */
  @Schema(description = "字段信息")
  private List<DocFieldDTO> fields;

  @Schema(description = "状态")
  @JsonSerialize(using = ToStringSerializer.class)
  private Integer status;
}
